import request from '../index';

/**
 * 
 * @param id 
 * @returns 
 */
export const ticketDetail = (id: number = 2) =>
    request({
        url: '/ticket/detail',
        method: 'get',
        params: {
            id: id
        }
    });